package com.test.demo.finals;

class A {
	int i = 10;
}

class B {
	int j = 20;
}

public class FinalObjecctDemo {
	public static void main(String[] args){
		final A a = new A();
		B b = new B();
		System.out.println("a.i = " + a.i);
		a.i += 100;
		System.out.println("a.i = " + a.i);
		System.out.println("b.j = " + b.j);
		//a = b;
	}

}
